//
//  UIBlackColorView.m
//  Pods
//
//  Created by sun on 15/12/24.
//
//

#import "UIBlackColorView.h"
#import "UIRedColorView.h"

@implementation UIBlackColorView

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = [UIColor greenColor];
        
        UIRedColorView *redView = [[UIRedColorView alloc] initWithFrame:frame];
        [self addSubview:redView];
        
    }
    return self;
}

@end
